package com.youi.service;

import com.youi.entity.Goods;

import java.util.List;
import java.util.Map;

public interface GoodsService extends BaseService<Goods>{

	/**
	 * 获取商品列表
	 * @param params
	 * @param searchParams
	 * @param keyParams
	 * @param sortParams
	 * @param pageIndex
	 * @param pageNum
	 * @param gtParams
	 * @param ltParams
	 * @return
	 */
	public List<Goods> getGoodsList(Map<String, Object> params,Map<String, Object> searchParams,Map<String, Object> keyParams,Map<String, Object> sortParams,
			Integer pageIndex, Integer pageNum,Map<String, Object>  gtParams,Map<String, Object> ltParams);
	
	/**
	 * 获取商品信息
	 * @param goodsList
	 */
	public void getGoodsMsg(List<Goods> goodsList);
	
	/**
	 * 获取商品信息
	 * @param goodsList
	 */
	public void getGoodsMsg(Goods goods);
	
	public Goods getForUpdate(Long id);

	public List<Goods> getGoodsListNotInIds(Map<String, Object> params,Map<String, Object> noParams,Map<String, Object> searchParams,Map<String, Object> keyParams,Map<String, Object> sortParams,
									Integer pageIndex, Integer pageNum,Map<String, Object>  gtParams,Map<String, Object> ltParams);
	

}